{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/member/index')}">会员管理</a></li>
            <li class="layui-this">添加会员</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/member/add')}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">账号 ：</label>
                        <div class="layui-input-block">
                            <input type="text" name="account" placeholder="请输入用户名" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">密码 ：</label>
                        <div class="layui-input-block">
                            <input type="password" name="password" placeholder="留空默认不更改密码" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">称呼前缀 :</label>
                        <div class="layui-input-block">
                            <select name="prefix">
                                <option value="Capt.">Capt.</option>
                                <option value="Dr.">Dr.</option>
                                <option value="Miss">Miss</option>
                                <option value="Mr.">Mr.</option>
                                <option value="Mrs.">Mrs.</option>
                                <option value="Ms.">Ms.</option>
                            </select>
                        </div>
                    </div>
                    
                    <div class="layui-form-item">
                        <label class="layui-form-label">名 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="first_name" placeholder="请输入电话" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">中间名 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="middle_name" placeholder="请输入电话" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">姓氏 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="surnames" placeholder="请输入电邮" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">联系选择 :</label>
                        <div class="layui-input-block">
                            <select name="contact_by">
                                <option value="E-mail">E-mail</option>
                                <option value="Fax">Fax</option>
                                <option value="Mail">Mail</option>
                                <option value="Phone">Phone</option>
                            </select>
                        </div>
                    </div>
                    
                    <div class="layui-form-item">
                        <label class="layui-form-label">电话 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="phone" placeholder="请输入电邮" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">传真 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="fax" placeholder="请输入电邮" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">邮箱 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="email" placeholder="请输入电邮" class="layui-input">
                        </div>
                    </div>
                    
                    <div class="layui-form-item">
                        <label class="layui-form-label">出生日期 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="date_of_birth" placeholder="请输入电邮" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">公司 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="organization" placeholder="请输入公司" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">职位 :</label>
                        <div class="layui-input-block">
                            <input type="text" name="job_title" placeholder="请输入职位" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">证书编号 ：</label>
                        <div class="layui-input-block">
                            <input type="text" name="certificate_code" placeholder="请输入证书编号" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">会员等级 :</label>
                        <div class="layui-input-block">
                            <select name="level_id">
                                {if condition="$member_level"}
                                    {volist name="member_level" id="v"}
                                        <option value="{$v.level}">{$v.level_name}</option>
                                    {/volist}
                                {/if}
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">会员状态 :</label>
                        <div class="layui-input-block">
                            <input type="radio" name="level_status" value="1" title="活跃" >
                            <input type="radio" name="level_status" value="0" title="不活跃" checked="checked">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">学历状态 :</label>
                        <div class="layui-input-block">
                            <input type="radio" name="education_status" value="1" title="完成" >
                            <input type="radio" name="education_status" value="0" title="未完成" checked="checked">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">考试报名 :</label>
                        <div class="layui-input-block">
                            <input type="radio" name="exam_registration" value="1" title="完成" >
                            <input type="radio" name="exam_registration" value="0" title="未完成" checked="checked">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">工作经验 :</label>
                        <div class="layui-input-block">
                            <input type="radio" name="work_experience" value="1" title="完成" >
                            <input type="radio" name="work_experience" value="0" title="未完成" checked="checked">
                        </div>
                    </div>
                    
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">保存</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}